<%@page import = "clothing.database.OrderManager" %>
<%@ include file = "templates/header.jsp" %>

<%

String supplier_id = request.getParameter("supplier_id");

System.out.println(supplier_id);
String order_date = request.getParameter("order_date");
String expectedD = request.getParameter("expectedD");
String status = request.getParameter("status");
int s = Integer.parseInt(supplier_id);
OrderManager om = new OrderManager();
om.insert(s, order_date, expectedD, status);

response.sendRedirect("displayOrders.jsp");

%>
<%@ include file = "templates/footer.jsp" %>